<?php
// 导入数据库操作类
require_once(dirname(dirname(__FILE__)).'/libs/db.class.php');
class Base{
    public $db;
    public $openid;
    function __construct()
    {
        $this->db=new DB();
        $output=['errcode'=>0,'msg'=>'success'];
        $heades=getallheaders();
        $this->openid=$heades['Openid'];
        // file_put_contents('openid.txt',var_export($heades,true));
    }

}
